package com.zoltu.GoogleAuthenticator;

import android.os.Bundle;

public interface AuthenticationCallback
{
	/**
	 * Callback for when authentication was successful.
	 * 
	 * @param pAuthToken
	 *            The auth token received from a successful authentication.
	 */
	public void AuthenticationSuccss(String pAuthToken);
	
	/**
	 * Callback for when authentication failed.
	 * 
	 * @param pErrorBundleForResponse
	 *            A bundle containing an AccountManager.KEY_ERROR_CODE and AccountManager.KEY_ERROR_MESSAGE that can be
	 *            packaged into an AccountAuthenticatorResponse and sent back to the Authenticator.
	 */
	public void AuthenticationFailure(Bundle pErrorBundleForResponse);
}
